using System;

public static class TypeExtensions
{
    public static string AssemblyLocation(this Type type)
    {
        var assemblyPath = type.Assembly.CodeBase;
        return assemblyPath.Replace("file:///", string.Empty);
    }
}